function permutations ( start, end ) { var start2 var end2 if ( start.length == 1 ) print(end+start) else { for(var i=0; i